package com.sunshine.lnuplus.ui.activity

import android.graphics.Color
import android.os.Bundle
import com.sunshine.lnuplus.R
import com.sunshine.lnuplus.adapter.WelcomeAdapter
import com.sunshine.lnuplus.base.BaseActivity
import com.sunshine.lnuplus.utils.StatusBarUtils
import kotlinx.android.synthetic.main.activity_welcome.*

class WelcomeActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_welcome)
        setNoTitle()
        StatusBarUtils.setStatusBarWithColor(this, Color.WHITE)
        initView()
    }

    private fun initView() {
        StatusBarUtils.hideSystemUI(window)
        welcome_viewPager.adapter = WelcomeAdapter(supportFragmentManager)
    }
}
